<?php

    /**
     * Gets a translation
     *
     * @param       Dwoo            $dwoo
     * @param       string          $key : the locale key
     * @param       array|string    $args : arguments to apply to the localized string with sprintf
     * @param       string          $locale : the language code. If null, use the default language
     * @throws      Core_ArgumentException
     * @return      string
     */
    function Dwoo_Plugin_i18n(Dwoo $dwoo, $key, $local = null, $params = null)
    {
        return __($key, $params, $local);
    }